package com.qdxwx.data.service.user;


import com.qdxwx.common.json.AjaxResult;
import com.qdxwx.models.user.UserCount;

/**
 *
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface UserCountService {

	UserCount get(long userId);

	int insert(UserCount userCount);

	int append(UserCount userCount);

	void updateCourseDownCount(long userId, int number);

	void updatePictureDownCount(long userId, int number);

	void updateDocumentDownCount(long userId, int i);

	void updatePictureUploadCount(long userId, int number);

	AjaxResult checkDocumentLimit(long userId, boolean isVip);

	AjaxResult checkPictureLimit(long userId, boolean isVip);

	int update(UserCount userCount);

	int delete(long userId);

	int updateCombine(long userId, UserCount userCount);


}